import request from '@/utils/request'



// 获取一级分类列表
export const getCategory1ListApi = () => {
  return request.get(`app-dev/admin/product/getCategory1`)
}



// 获取二级分类列表
export const getCategory2ListApi = (category1Id) => {
  return request.get(`app-dev/admin/product/getCategory2/${category1Id}`)
}



// 获取三级分类列表
export const getCategory3ListApi = (category2Id) => {
  return request.get(`app-dev/admin/product/getCategory3/${category2Id}`)
}



